{% extends "base.html" %}
{% if contest != None %}
{% load problem_index %}
{% endif %}
{% block page_title %}
    {% if asgn != None and asgn.hideProblemTitle %}
        题目{{ problem_index | problem_index }}
    {% else %}

        {% if contest != None %}
            {{ problem_index | problem_index }}
        {% elif asgn != None %}
            {% if asgn.hideProblemId %}
                {{ problem_index | problem_index }}
            {% else %}
                {{ problem.id }}
            {% endif %}
        {% else %}
            {{ problem.id }}
        {% endif %}.
        {{ problem.title }}

    {% endif %}
- {% endblock %}
{% block page_head %}
    <link rel="stylesheet" href="/static/codemirror/lib/codemirror.css">
{% endblock %}
{% block page_body %}
<div class="page_container">
    {% include "problem/problem/body.html" %}
</div>
{% endblock %}
{% block page_script %}
{% include "problem/problem/body_script.html" %}
{% endblock %}